#ifndef DEFINEDQUERIES_H
#define DEFINEDQUERIES_H

#define A2S_MULTI_R -2
// 0xFFFFFFFE
#define A2S_INFO "\xFF\xFF\xFF\xFF\x54Source Engine Query\0"
#define A2S_INFO_R 0x6D
#define A2S_INFO_R2 0x49
#define A2S_PLAYER "\xFF\xFF\xFF\xFF\x55\x00\x00\x00\x00\0"
//#define A2S_PLAYER_CHALLENGE "\xFF\xFF\xFF\xFF\x55\xFF\xFF\xFF\xFF\0"
#define A2S_PLAYER_R 0x44
#define A2S_RULES "\xFF\xFF\xFF\xFF\x56\x00\x00\x00\x00\0"
//#define A2S_RULES_CHALLENGE "\xFF\xFF\xFF\xFF\x56\xFF\xFF\xFF\xFF\0"
#define A2S_RULES_R 0x45
#define A2S_SERVERQUERY_GETCHALLENGE "\xFF\xFF\xFF\xFF\x57\0"
#define A2S_SERVERQUERY_GETCHALLENGE_R 0x41
#define A2A_PING "\xFF\xFF\xFF\xFF\x69\0"
#define A2A_PING_R 0x6A
#define A2A_ACK 0x6A

#define RCON_CHALLENGE_RCON "\xFF\xFF\xFF\xFF\challenge rcon\0"
#define RCON_RCON_LOGIN "\xFF\xFF\xFF\xFFrcon "
#define RCON_R 0x6c



enum
{
    A2A_PING_REPLY=0,
    A2S_MULTI_REPLY,
    A2S_INFO_REPLY,
    A2S_INFO_REPLY2,
    A2S_PLAYER_REPLY,
    A2S_RULES_REPLY,
    A2S_SERVERQUERY_GETCHALLENGE_REPLY,

};

#endif // DEFINEDQUERIES_H
